package com.study.design.demo2;

import org.springframework.stereotype.Service;

/**
 * @author: chenhs
 * @date: Created in 21:26 2019/11/9
 **/
@Service
public class SVipCalculate implements ICalculate {
    @Override
    public String userType() {
        return "svip";
    }

    @Override
    public double discount(double fee) {
        return fee * 0.6;
    }
}
